<!-- Start Sidebar -->
                <!-- <div class="container-fluid">
				<div class="row-fluid"> -->
				
                <div class="span3 category_list">
                
                    <div class="thumbnail">
                    <div>
					<h2>Kategori</h2>
					</div>
					<div class="navmain">
                        <ul id="navigationMenu">
                            
                                    <div class="thumbnail"><li><a class="tkering" href="cat_view.php?modul=tkering"> <span>Tradisional Kering</span></a></li></div>
                                    <div class="thumbnail"><li><a class="tbasah" href="cat_view.php?modul=tbasah"> <span>Tradisional Basah</span></a></li></div>
                                
                                    <div class="thumbnail"><li><a class="mkering" href="cat_view.php?modul=mkering"> <span>Modern Kering</span></a></li></div>
                                    <div class="thumbnail"><li><a class="mbasah" href="cat_view.php?modul=mbasah"> <span>Modern Basah</span></a></li></div>
									
	    
                                
						</ul>
                    
				
					</div>
                    </div>
                    <div class="thumbnail">
                    <div>
                    <?php
                    echo "<h4>Keranjang Belanja</h4></br>
                    <table class=table>
            ";
            
       $max=count(array_keys($_SESSION['cart']));      
       
       $no=1;
       $total = 0;   
       
       foreach(array_keys($_SESSION['cart']) as $key){
        
            $class_db->show_Data('product_detail','*',null,null,'productdet_id='.$_SESSION['cart'][$key]['productid']);
       
            $hasil=$class_db->hasil;
            
            foreach($hasil as $data){
        
            $jml=$_SESSION['cart'][$key]['qty'];
            $harga=number_format($data['price'],2,',','.');
            $sub = number_format($jml*$data['price'],2,',','.');
            
            echo "<tr>
                    <td>$data[product_name]</td>
                    <td>$jml</td>                    
                    <td>$sub</td>
                    <td></td>
                </tr>";            
               //<a href='product_aksi.php?modul=hapus&id=$key'>Hapus</a>
       }
       
       $total += $_SESSION['cart'][$key]['prc'];
       
       $no++;
        
       } 
       $_SESSION['subtotal'] = $total;
        echo "<tr><td></td><td><b></b></td><td><b>".number_format($total,2,',','.')."</b></td><td>";
        if(isset($_SESSION['cart'])){
            echo "<a href='cart_view.php?'>Check Out</a></td></tr>";
        }      
           


        echo "</table>";
                    
                    ?>
                    </div>
                </div>
                </div>
                
                <!-- </div> 
				</div> 
                <!-- End Sidebar -->